home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
serien
/
purity
/
nr.42
/
includes3v1
/
includes3v1.lha
/
Resources
/
Misc.i
< prev
next >
Wrap
Text File
|
1994-12-04
|
941b
|
29 lines
{$I "Include:Exec/Libraries.i"}
CONST
{
* Unit number definitions. Ownership of a resource grants low-level
* bit access to the hardware registers. You are still obligated to follow
* the rules for shared access of the interrupt system (see
* exec.library/SetIntVector or cia.resource as appropriate).
}
MR_SERIALPORT = 0; { Amiga custom chip serial port registers
(SERDAT,SERDATR,SERPER,ADKCON, and interrupts) }
MR_SERIALBITS = 1; { Serial control bits (DTR,CTS, etc.) }
MR_PARALLELPORT= 2; { The 8 bit parallel data port
(CIAAPRA & CIAADDRA only!) }
MR_PARALLELBITS= 3; { All other parallel bits & interrupts
(BUSY,ACK,etc.) }
{
* Library vector offset definitions
}
MR_ALLOCMISCRESOURCE = (LIB_BASE); { -6 }
MR_FREEMISCRESOURCE = (LIB_BASE-LIB_VECTSIZE); { -12 }
MISCNAME = "misc.resource";